<?php
$this->breadcrumbs=array(
	'Papers'=>array('index'),
	$model->title,
);

$this->menu=array(
	array('List paper', array('index')),
	array('Create paper', array('create')),
	array('Update paper', array('update', 'id'=>$model->id)),
	array('Manage paper', array('admin'), 'visible'=>Yii::app()->user->hasAuth(Group::TEACHER)),
);
?>

<h1>View paper #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'title',
		'author',
		'language',
		'description',
		'content',
		'tags',
		'image',
		'created',
	),
)); ?>
